package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 联盟信息表
 * </p>
 *
 * @author chenxuebin
 * @since 2020-02-11
 */
@TableName("t_league")
public class League extends Model<League> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 名称&
     */
	private String name;
    /**
     * 简称#XX店
     */
	private String jianchen;
    /**
     * 缩略图
     */
	private String thumb;
    /**
     * 纬度坐标&
     */
	private Double latitude;
    /**
     * 经度坐标&
     */
	private Double longitude;

	@TableField(exist = false)
	private Double distance;
    /**
     * 地址&
     */
	private String address;

	private String shareimg;

	private String wximg;

    /**
     * 联盟简介&
     */
	private String jianjie;
	private String guize;
    /**
     * 省代码&
     */
	@TableField("province_code")
	private String provinceCode;
    /**
     * 省&
     */
	private String province;
    /**
     * 市代码&
     */
	@TableField("city_code")
	private String cityCode;
    /**
     * 市&&
     */
	private String city;
    /**
     * 区代码&
     */
	@TableField("district_code")
	private String districtCode;
    /**
     * 区&
     */
	private String district;
    /**
     * 联盟介绍&
     */
	private String info;
    /**
     * 联系人&
     */
	private String linkman;
    /**
     * 联系电话&
     */
	private String phone;
    /**
     * 联盟logo
     */
	private String logo;
    /**
     * 联盟背景图图片&
     */
	private String pic;
    /**
     * 启用状态
     */
	private Integer state;
	private Date starttime;
	private Date endtime;

    /**
     * 审核状态@1：待审核；2：审核通过；3：审核拒绝；
     */
	private Integer status;
    /**
     * 盟主微信号
     */
	private String wxno;
	private Long mid;
	private Long mpid;
	private Long uid;
	private Date createtime;
	private Date modifytime;
	private Long modifier;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getJianchen() {
		return jianchen;
	}

	public void setJianchen(String jianchen) {
		this.jianchen = jianchen;
	}

	public String getThumb() {
		return thumb;
	}

	public void setThumb(String thumb) {
		this.thumb = thumb;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getJianjie() {
		return jianjie;
	}

	public void setJianjie(String jianjie) {
		this.jianjie = jianjie;
	}

	public String getGuize() {
		return guize;
	}

	public void setGuize(String guize) {
		this.guize = guize;
	}

	public String getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(String provinceCode) {
		this.provinceCode = provinceCode;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrictCode() {
		return districtCode;
	}

	public void setDistrictCode(String districtCode) {
		this.districtCode = districtCode;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getWxno() {
		return wxno;
	}

	public void setWxno(String wxno) {
		this.wxno = wxno;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public Double getDistance() {
		return distance;
	}

	public void setDistance(Double distance) {
		this.distance = distance;
	}

	public String getShareimg() {
		return shareimg;
	}

	public void setShareimg(String shareimg) {
		this.shareimg = shareimg;
	}

	public String getWximg() {
		return wximg;
	}

	public void setWximg(String wximg) {
		this.wximg = wximg;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "League{" +
			"id=" + id +
			", name=" + name +
			", jianchen=" + jianchen +
			", thumb=" + thumb +
			", latitude=" + latitude +
			", longitude=" + longitude +
			", address=" + address +
			", provinceCode=" + provinceCode +
			", province=" + province +
			", cityCode=" + cityCode +
			", city=" + city +
			", districtCode=" + districtCode +
			", district=" + district +
			", info=" + info +
			", linkman=" + linkman +
			", phone=" + phone +
			", logo=" + logo +
			", pic=" + pic +
			", state=" + state +
			", status=" + status +
			", wxno=" + wxno +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", createtime=" + createtime +
			", modifytime=" + modifytime +
			", modifier=" + modifier +
			"}";
	}
}
